<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<!-- mustache语法 不仅仅可以用变量还可以用表达式 -->
			<h2>{{message}}</h2>
			<h2>{{firstname + lastname}}</h2>
			<h2>{{firstname}}{{lastname}}</h2>
			<h2>{{counter*2}}</h2>
		</div>
	</body>
	<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		const app = new Vue({
			el:"#app",
			data:{
				counter: 100,
				message:'你好啊',
				firstname: "lion",
				lastname: "Lee"
			}
		})

	</script>
</html>
